package cn.edu.hstc.wm.bean;

import java.io.Serializable;

public class Comment implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2522976660915960507L;
	private Integer id;// 评论id
	private double score;// 店铺评分
	private String comment;// 评论内容
	private int storeId;// 评论商店，表示与商店的多对一关系

	private String userName;

	private String time;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public double getScore() {
		return score;
	}

	public void setScore(double score) {
		this.score = score;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public int getStoreId() {
		return storeId;
	}

	public void setStoreId(int storeId) {
		this.storeId = storeId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	@Override
	public String toString() {
		return "Comment [id=" + id + ", score=" + score + ", comment=" + comment + ", store=" + storeId + ", userName=" + userName + ", time=" + time + "]";
	}
}
